﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Lamex.mDemo;

namespace Lamex.mDemo
{
    public partial class frmDrawerPanel : Form
    {
        public frmDrawerPanel()
        {
            InitializeComponent();
            //this.toolbox1.Size = new System.Drawing.Size(220, this.Height);
            //MessageBox.Show(this.Height.ToString());
        }

        private void toolboxItem1_Click(object sender, EventArgs e)
        {
            MessageBox.Show("sfdsd");
        }

        private void button1_Click(object sender, EventArgs e)
        {
        }

        private void button1_Click_1(object sender, EventArgs e)
        {

        }

        private void toolboxItem3_SelectStatusChanged(object sender, EventArgs e)
        {
            MessageBox.Show("  ");
        }

        private void button1_Click_2(object sender, EventArgs e)
        {
            MessageBox.Show((312 - toolbox1.Items.Sum(x => x.Height+1)).ToString());
        }

        private void tbiPdfSeparate_Click(object sender, EventArgs e)
        {
            //frmPDFSeparate pdfSeparate = new frmPDFSeparate();
            //pdfSeparate.MdiParent = this;
            //pdfSeparate.Show();
        }

        private void tbiPdf2Jpg_Click(object sender, EventArgs e)
        {
            //frmPDFtoJPG Pdf2Jpg = new frmPDFtoJPG();
            //Pdf2Jpg.Show();
        }

    }
}
